import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter);

const router = new VueRouter({
  base: '/',
  mode: 'hash',
  routes: [
    {
      path: '/',
      component: () => import('@/views/layout/index'),
      children: [
        {
          path: '',
          component: () => import('@/views/device-info/index')
        }
      ]
    }
  ]
})

export default router